package com.thoughtworks.Chapter8;

public class SpellCheckerProcessing extends ProcessingObject<String> {
    public SpellCheckerProcessing(ProcessingObject<String> successor) {
        super(successor);
    }

    @Override
    String handleWork(String input) {
        return input.replaceAll("labda","lambda");
    }
}
